package sameClasses;

//import javax.swing.JPanel;

public abstract class Gui {

	private static User myUser;
	private int myId;

	protected Gui(User user) {
		if ((Gui.myUser == null)) {
			Gui.myUser = user;
			this.myId = -1;
		}
	}

	public String getName() {
		return new String("GUI OBERKLASSE");
	}

	public User getUser() {
		return Gui.myUser;
	}

	// public JPanel buildGui() {
	// return new JPanel();
	// }

	public int getId() {
		return this.myId;
	}
}
